package start;

public class D {
    private A a;
    public D() {
        System.out.println("D. Constructor D()...");
    }
    public void setA(A a) {
        System.out.println("D. setA("+a+")...");
        this.a = a;
    }

    public A getA() {
        System.out.println("D. getA()="+a+".");
        return a;
    }
}
